# $Id: PKGBUILD 151016 2012-02-24 13:23:21Z andrea $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=eclipse-cdt
pkgver=8.1.2
pkgrel=2
pkgdesc='C/C++ Plugin for Eclipse'
arch=('any')
url='http://www.eclipse.org/cdt'
license=('EPL')
install='msg.install'
depends=('eclipse' 'libxtst')
source=("http://download.eclipse.org/tools/cdt/releases/juno/sr2/cdt-master-$pkgver.zip")
sha256sums=('9b204b1c3c56c2fa40d6ce502a4fb45a4176039c3a843a8597ccb9bf54a3a214')

package() {
  cd "$srcdir"

  _installdir="$pkgdir/usr/share/eclipse/dropins/cdt"
  install -d "$_installdir/eclipse"
  cp -a features "$_installdir/eclipse"
  cp -a plugins "$_installdir/eclipse"
}

# vim:set ts=2 sw=2 et:
